﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Validation;
using Microsoft.Practices.EnterpriseLibrary.Validation.Validators;
namespace DTO
{
    public class TUKHOADUONGCollection : List<TUKHOADUONG>
    { }
    public class TUKHOADUONG
    {
        private DUONGCollection dsDUONG;

        internal DUONGCollection DsDUONG
        {
            get { return dsDUONG; }
            set { dsDUONG = value; }
        }

        private long MaTuKhoaDuong;

        public long MATUKHOADUONG
        {
            get { return MaTuKhoaDuong; }
            set { MaTuKhoaDuong = value; }
        }
        private String TuKhoaDuong;
        [StringLengthValidator(1,500,MessageTemplate="Từ khóa đướng phải có ít nhất 1 ký tự")]
        public String TUKHOAD
        {
            get { return TuKhoaDuong; }
            set { TuKhoaDuong = value; }
        }
        private long MaDuong;

        public long MADUONG
        {
            get { return MaDuong; }
            set { MaDuong = value; }
        }
        public TUKHOADUONG() { }
    }
}
